package com.ruibang.glass.purchase.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruibang.glass.purchase.dto.FileInfoDTO;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 评标投标商信息
 * </p>
 *
 * @author mameng
 * @since 2024-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "评标投标商信息")
@TableName(value = "g_purchase_report_bidders")
public class ProcureReportBidders extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "投标商名称")
    private String bidderName;

    @ApiModelProperty(value = "投标总价")
    private BigDecimal totalBidPrice;

    @ApiModelProperty(value = "中标全额")
    private BigDecimal winningBidAmount;

    @ApiModelProperty(value = "技术资格文件Ids")
    @TableField(exist = false)
    private List<String> technicalQualificationDocumentIds;

    @ApiModelProperty(value = "商务文件Ids")
    @TableField(exist = false)
    private List<String> commercialDocumentIds;

    @ApiModelProperty(value = "是否中标")
    private String isWinningBid;

    @ApiModelProperty(value = "其他说明")
    private String otherNotes;

    @ApiModelProperty(value = "评标报告Id")
    private String bidEvaluationReportId;

    @ApiModelProperty(value = "投标商Id")
    private String bidderId;

    @ApiModelProperty(value = "项目编号")
    private String projectNumber;

    @TableField(exist = false)
    private List<FileInfoDTO> commercialDocumentFiles;

    @TableField(exist = false)
    private List<FileInfoDTO> technicalQualificationDocumentFileS;

    @ApiModelProperty(value = "")
    @TableField(exist = false)
    private String index;

    @ApiModelProperty(value = "是否已被合同使用:0未使用，1:已使用,默认为0")
    private String isUsed;
}
